package com.pristine.service.wsdl;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

import com.pristine.vo.AppointmentVO;

@WebService
public interface IAppointmentService {
	
	public Integer createAppointment(
			@WebParam(name = "appointment") final AppointmentVO appointment);

	public Integer updateAppointment(
			@WebParam(name = "appointment") final AppointmentVO appointment);

	public boolean deleteAppointment(@WebParam(name = "id") final Integer id);

	public AppointmentVO getAppointmentById(
			@WebParam(name = "id") final Integer id);

	public List<AppointmentVO> getAllAppointment();
}
